<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilsecure: XSecure_HashAlgInfo Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilsecure
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('struct_x_secure___hash_alg_info.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">XSecure_HashAlgInfo Struct Reference<div class="ingroups"><a class="el" href="group__xsecure__mgf__server__apis.html">XilSecure MGF Server APIs</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Structure for Hash Algorithm Info.
 <a href="struct_x_secure___hash_alg_info.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:ae3302b269d249878b73bb94363200795"><td class="memItemLeft" align="right" valign="top">XSecure_ShaMode&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___hash_alg_info.html#ae3302b269d249878b73bb94363200795">Shatype</a></td></tr>
<tr class="memdesc:ae3302b269d249878b73bb94363200795"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA type for MGF.  <a href="#ae3302b269d249878b73bb94363200795">More...</a><br/></td></tr>
<tr class="separator:ae3302b269d249878b73bb94363200795"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d651b4f8029fd1bde167f52f7b0a680"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___hash_alg_info.html#a2d651b4f8029fd1bde167f52f7b0a680">HashLen</a></td></tr>
<tr class="memdesc:a2d651b4f8029fd1bde167f52f7b0a680"><td class="mdescLeft">&#160;</td><td class="mdescRight">Hash length for MGF.  <a href="#a2d651b4f8029fd1bde167f52f7b0a680">More...</a><br/></td></tr>
<tr class="separator:a2d651b4f8029fd1bde167f52f7b0a680"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c89a5bf973d16144020ebece7415504"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___hash_alg_info.html#a6c89a5bf973d16144020ebece7415504">ShaStart</a> )(XSecure_ShaMode <a class="el" href="struct_x_secure___hash_alg_info.html#ae3302b269d249878b73bb94363200795">Shatype</a>, void *InstancePtr)</td></tr>
<tr class="memdesc:a6c89a5bf973d16144020ebece7415504"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function pointer to SHA start.  <a href="#a6c89a5bf973d16144020ebece7415504">More...</a><br/></td></tr>
<tr class="separator:a6c89a5bf973d16144020ebece7415504"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaec31389331a3137f07364a5852286c0"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___hash_alg_info.html#aaec31389331a3137f07364a5852286c0">ShaUpdate</a> )(XSecure_ShaMode <a class="el" href="struct_x_secure___hash_alg_info.html#ae3302b269d249878b73bb94363200795">Shatype</a>, void *InstancePtr, u64 InputDataAddr, u32 Size)</td></tr>
<tr class="memdesc:aaec31389331a3137f07364a5852286c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function pointer to SHA update.  <a href="#aaec31389331a3137f07364a5852286c0">More...</a><br/></td></tr>
<tr class="separator:aaec31389331a3137f07364a5852286c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1252ac9d152a5cbb5731d66d19e6f634"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___hash_alg_info.html#a1252ac9d152a5cbb5731d66d19e6f634">ShaFinish</a> )(XSecure_ShaMode <a class="el" href="struct_x_secure___hash_alg_info.html#ae3302b269d249878b73bb94363200795">Shatype</a>, void *InstancePtr, u64 HashAddr)</td></tr>
<tr class="memdesc:a1252ac9d152a5cbb5731d66d19e6f634"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function pointer to SHA finish.  <a href="#a1252ac9d152a5cbb5731d66d19e6f634">More...</a><br/></td></tr>
<tr class="separator:a1252ac9d152a5cbb5731d66d19e6f634"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae683bb56bc7d3ddc71dfc799f36e74c3"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_secure___hash_alg_info.html#ae683bb56bc7d3ddc71dfc799f36e74c3">ShaDigest</a> )(XSecure_ShaMode <a class="el" href="struct_x_secure___hash_alg_info.html#ae3302b269d249878b73bb94363200795">Shatype</a>, void *InstancePtr, u64 InputDataAddr, u32 Size, u64 HashAddr)</td></tr>
<tr class="memdesc:ae683bb56bc7d3ddc71dfc799f36e74c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function pointer to SHA digest.  <a href="#ae683bb56bc7d3ddc71dfc799f36e74c3">More...</a><br/></td></tr>
<tr class="separator:ae683bb56bc7d3ddc71dfc799f36e74c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Structure for Hash Algorithm Info. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a2d651b4f8029fd1bde167f52f7b0a680"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XSecure_HashAlgInfo::HashLen</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Hash length for MGF. </p>

<p>Referenced by <a class="el" href="group__xsecure__mgf__server__apis.html#ga51accda21580807193b7f1309a153c52">XSecure_MaskGenFunc()</a>.</p>

</div>
</div>
<a class="anchor" id="ae683bb56bc7d3ddc71dfc799f36e74c3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* XSecure_HashAlgInfo::ShaDigest)(XSecure_ShaMode <a class="el" href="struct_x_secure___hash_alg_info.html#ae3302b269d249878b73bb94363200795">Shatype</a>, void *InstancePtr, u64 InputDataAddr, u32 Size, u64 HashAddr)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Function pointer to SHA digest. </p>

</div>
</div>
<a class="anchor" id="a1252ac9d152a5cbb5731d66d19e6f634"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* XSecure_HashAlgInfo::ShaFinish)(XSecure_ShaMode <a class="el" href="struct_x_secure___hash_alg_info.html#ae3302b269d249878b73bb94363200795">Shatype</a>, void *InstancePtr, u64 HashAddr)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Function pointer to SHA finish. </p>

<p>Referenced by <a class="el" href="group__xsecure__mgf__server__apis.html#ga51accda21580807193b7f1309a153c52">XSecure_MaskGenFunc()</a>.</p>

</div>
</div>
<a class="anchor" id="a6c89a5bf973d16144020ebece7415504"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* XSecure_HashAlgInfo::ShaStart)(XSecure_ShaMode <a class="el" href="struct_x_secure___hash_alg_info.html#ae3302b269d249878b73bb94363200795">Shatype</a>, void *InstancePtr)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Function pointer to SHA start. </p>

<p>Referenced by <a class="el" href="group__xsecure__mgf__server__apis.html#ga51accda21580807193b7f1309a153c52">XSecure_MaskGenFunc()</a>.</p>

</div>
</div>
<a class="anchor" id="ae3302b269d249878b73bb94363200795"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XSecure_ShaMode XSecure_HashAlgInfo::Shatype</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SHA type for MGF. </p>

<p>Referenced by <a class="el" href="group__xsecure__mgf__server__apis.html#ga51accda21580807193b7f1309a153c52">XSecure_MaskGenFunc()</a>.</p>

</div>
</div>
<a class="anchor" id="aaec31389331a3137f07364a5852286c0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* XSecure_HashAlgInfo::ShaUpdate)(XSecure_ShaMode <a class="el" href="struct_x_secure___hash_alg_info.html#ae3302b269d249878b73bb94363200795">Shatype</a>, void *InstancePtr, u64 InputDataAddr, u32 Size)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Function pointer to SHA update. </p>

<p>Referenced by <a class="el" href="group__xsecure__mgf__server__apis.html#ga51accda21580807193b7f1309a153c52">XSecure_MaskGenFunc()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
